﻿using NetMicro.Core.Ioc.Dependencies;

namespace NetMicro.MongoProvider
{
    /// <summary>
    /// 获取ConnecttionConfig
    /// </summary>
    public interface ISubDatabaseMongoConfig: IScoped
    {
        /// <summary>
        /// 获取数据库连接
        /// </summary>
        /// <returns></returns>
        MongoDBConnectionConfig GetConnectionConfig();
    }
}
